package ink.ykb.demo.config;

/**
 * 返回码常量类
 * 
 * @author mading
 *
 */
public class CodeConstant {
    
    /**
     * 999999：未知错误
     */
    public static final String ERROR = "999999";

    /**
     * 000000：成功
     */
    public static final String SUCCESS = "000000";
    
    /**
     * 000001:失败
     */
    public static final String FAIL = "000001";
    
    /**
     * 000002:请求地址不存在
     */
    public static final String UNKOWN_URL = "000002";
    
    /**
     * 000003:权限被拒绝
     */
    public static final String ACCESS_DENIED = "000003";
    
	/**
	 * 000004：参数不能为空
	 */
	public static final String PARAMS_EMPTY = "000004";
	
	/**
	 * 000005：请重新登录
	 */
	public static final String TOKEN_EMPTY = "000005";
	
	/**
	 * 000006：用户不存在
	 */
	public static final String USER_EMPTY = "000006";
	
	/**
	 * 000007：账号不能为空
	 */
	public static final String USER_NAME_EMPTY = "000007";
	
	/**
	 * 000008：密码不能为空
	 */
	public static final String PASSWORD_EMPTY = "000008";
	/**
	 * 000009：密码错误
	 */
	public static final String PASSWORD_ERROR = "000009";
	
	
	
	
	/**
     * 000100：权限code不能重复
     */
    public static final String MUS_100 = "000100";
    
    /**
     * 000101：权限不存在
     */
    public static final String MUS_101 = "000101"; 
    
    
    /**
     * 000102：角色code不能重复
     */
    public static final String MUS_102 = "000102"; 
    
    
    /**
     * 000103：角色不存在
     */
    public static final String MUS_103 = "000103"; 
    
    
    /**
     * 000104：此用户已拥有此角色，不能重复添加
     */
    public static final String MUS_104 = "000104"; 
    
    /**
     * 000105：未查询到此用户的此角色
     */
    public static final String MUS_105 = "000105"; 
    
    
    /**
     * 000106：此角色已拥有此权限，不能重复添加
     */
    public static final String MUS_106 = "000106"; 
    
    
    /**
     * 000107：未查询到此用户的此角色
     */
    public static final String MUS_107 = "000107"; 
    
	
	/**
     * 000108：用户名称不能重复
     */
    public static final String MUS_108 = "000108";
    
    
    /**
     * 000109：无法生成菜单树，请检查是否有根菜单
     */
    public static final String MUS_109 = "000109";
    
    
    /**
     * 000110：经销商层级名称不能重复
     */
    public static final String MUS_110 = "000110"; 
    
    
    /**
     * 000111：经销商层级不存在
     */
    public static final String MUS_111 = "000111"; 
    
    /**
     * 000112：此用户已在其他经销商层级中，不能重复添加
     */
    public static final String MUS_112 = "000112"; 
    
    /**
     * 000113：在销商层级中未查询到此用户
     */
    public static final String MUS_113 = "000113"; 
    
    /**
     * 000114：未查询到此销商层级关联配置
     */
    public static final String MUS_114 = "000114"; 
}
